﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using BBInterfaceNET.PropertiesWindow.Views;

namespace BBInterfaceNET.PropertiesWindow.ModuleDefinition
{
    public class PropertiesModule:IModule
    {
        private IRegionManager regionManager;
        public PropertiesModule(IRegionManager regionManager)
        {
            this.regionManager = regionManager;
        }
        public void Initialize()
        {
            regionManager.RegisterViewWithRegion("PropertiesRegion", typeof(PropertiesView));
        }
    }
}
